package cn.net.dpi.minio.config;

import lombok.Data;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.stereotype.Component;

@Data
@Component
public class MinioProp {
    /**
     * 连接地址
     */
    @Value(value = "${dpi.minio.endpoint:1}")
    private String endpoint;
    /**
     * 用户名
     */
    @Value(value = "${dpi.minio.accessKey:1}")
    private String accessKey;
    /**
     * 密码
     */
    @Value(value = "${dpi.minio.secretKey:1}")
    private String secretKey;
    /**
     * 桶名
     */
    @Value(value = "${dpi.minio.bucketName:1}")
    private String bucketName;
}
